package org.yly.game.rpggame.domain.model.npc;

import java.util.ArrayList;
import java.util.Set;

import org.yly.game.rpggame.domain.model.Entity;
import org.yly.game.rpggame.domain.model.Position;
/**
 * npc,有对白，可出售物品，可修理装备
 * @author makefu
 *
 */
public class Npc extends Entity {

	/* 基本信息 */
	private String name;
	private String description; // 描述
	private Position position; // 位置
	
	private ArrayList<String> dialogueList; // npc和玩家对白
	
	private ArrayList<String> taskIdList; // 任务列表
	
	private Set<String> sellGoodsSet; // npc出售物品
	
	private boolean repairer; // 修理师

	public Npc(String id, String name, String description,
			ArrayList<String> dialogueList, ArrayList<String> taskIdList,
			Set<String> sellGoodsSet, boolean repairer) {
		super(id);
		this.name = name;
		this.description = description;
		this.dialogueList = dialogueList;
		this.taskIdList = taskIdList;
		this.sellGoodsSet = sellGoodsSet;
		this.repairer = repairer;
	}

	public ArrayList<String> getDialogueList() {
		return dialogueList;
	}
	
}
